<div class="portlet box green">

	<div class="portlet-title">

		<div class="caption">作品列表</div>

		<div class="tools">

			<a href="javascript:;" class="collapse"></a>

			<a href="#portlet-config" data-toggle="modal" class="config"></a>

			<a href="javascript:;" class="reload"></a>

			<a href="javascript:;" class="remove"></a>

		</div>

	</div>

	<div class="portlet-body flip-scroll">

		<table class="table-bordered table-striped table-condensed flip-content">

			<thead class="flip-content">

				<tr>

					<th>标题</th>

					<th>内容</th>

					<th class="numeric">时间</th>

					<th class="numeric">类型</th>

					<th class="numeric">操作</th>

				</tr>

			</thead>

			<tbody>
				<foreach name="workList" item="vo" >
					<tr>
						<td>{$vo['title']}</td>

						<td>{$vo['content']}</td>

						<td class="numeric">{$vo['time']|date='Y年m月d日 H:i ',###}</td>

						<td class="numeric">{$vo['type']}</td>
						
						<td class="numeric"><a href="{:U('Works/reviseWorks?id='.$vo['Id'])}">修改</a>|<a href="{:U('Works/deleteWork?id='.$vo['Id'])}" class="delete-btn" onClick="return confirm('是否删除')?true:false;">删除</a></td>
					</tr>
				</foreach>
			</tbody>

		</table>

	</div>

</div>